- Copy the MCI file into CyberArk Main Downloads and confirm the filename is exact, using no spaces or typos to avoid transfer issues.
-
Transfer the MCI to the server:
scp ~/Downloads/<MCI_FILENAME> cont12986:/tmp/ -
Connect to the server:
ssh cont12986 -
Switch to the apizone user and elevate as needed:
su - apizone sudo su -Credentials handling
! Password = NwQsR@404 passwords from the enterprise vault or CyberArk; avoid embedding real secrets in documentation or terminals.
-
Verify upload under /tmp:
cd /tmp ls -ltri If the file is missing, re-check the source path and re-upload.
-
Set the environment context:
tz-prodContext alias note
i If
tz-prodis an alias, verify the kubectl context viakubectl config current-contextand switch if required.
A. Transfer MCI to cont12986
B. Pod processing (direct)
-
Find the direct pod:
pods | grep directi Copy the pod name exactly for reuse in subsequent commands.
-
Copy the MCI file into the pod:
kubectl cp /tmp/<MCI_FILENAME> <POD-NAME>:/tmpTroubleshooting
! “No such file”: check the filename and upload; “No such pod”: re-run
pods | grep directand confirm context. -
Enter the pod shell:
kubectl exec -it <POD-NAME> -- sh -
Inside the pod: clean temp and move the uploaded file:
cd /tmp rm -rf DDO/* rm -rf DDA/* mv <MCI_FILENAME> DDO/i If “file not found”, verify the upload path and current directory.
-
Exit the pod shell:
exit -
Monitor pod logs until processing completes:
logs <POD-NAME>i Stop log viewing with Ctrl+C once completed.
-
Check DDA output:
kubectl exec -it <POD-NAME> -- sh ls -ltr /tmp/DDA/i Note the DDA filename shown for retrieval.
-
Exit the pod shell:
exit
C. Retrieve DDA
-
Copy DDA from pod to server tmp:
kubectl cp <POD-NAME>:/tmp/DDA/<DDA-FILENAME> /tmp/<DDA-FILENAME> -
Transfer DDA from server to local Downloads:
scp cont12986:/tmp/<DDA-FILENAME> ~/Downloads/ - Attach the DDA file to the JIRA ticket and share a confirmation email indicating the DDO is processed successfully.
Notes & Tips
Aliases and contexts
i Commands like pods and logs may be shell aliases; use explicit kubectl equivalents and verify current context when aliases are unavailable.
Collapsible help
i The details/summary elements are native, accessible toggles when summaries have concise, descriptive labels per MDN guidance.
Sticky navigation
i The left TOC uses CSS position: sticky and a top offset, so it remains visible while scrolling within its container.